package com.myhome.common;

import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

public class MyListDemo {

	//默认分配的大小的
	public static void arrayListTest01() {
		List<Object> list = new ArrayList<Object>();
		Map map = new HashMap();
		
		List list01 = new LinkedList();
		
		ArrayDeque stack = new ArrayDeque();
		
		System.out.println("长度："+list.size());
	} 
	
	public static void linkedList01() {
		List list = new LinkedList();
	}
	
	
	public static void main(String[] args) {
		arrayListTest01();
	}
}
